package com.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 角色权限
 */
@Data
@TableName("sys_role_permission")
public class SysRolePermission {

    @TableId(type= IdType.AUTO)
    private Integer id;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 权限
     */
    private String permission;

    public static final String ROLE_ID="role_id";
}
